package com.wxx.main;

import java.util.Date;
import java.util.Properties;

public class Main0 {

	@SuppressWarnings("static-access")
	public static void main(String[] args) {
		System.out.println(new Date());
		Properties p = System.getProperties();
		System.out.println(">>>>>>>>>>>>>>>>>"+p.get("os.name"));
		p.list(System.out);
		System.out.println("--- Memory Usage:");
		Runtime rt = Runtime.getRuntime();
		try {
			Thread.currentThread().sleep(5 * 1000);
		} catch (InterruptedException e) {
		}
		System.out.println("Total Memory = " + rt.totalMemory()
				+ " Free Memory = " + rt.freeMemory());
	}
	 class ConstratorTe {

		ConstratorTe(int i) {
			while ( i < 10) {
				System.out.println(">i>>>" + i);
				i++;
			}

		}

	}
}
